<?php

include("classes/include.php");

if(isset($_POST['suppProf']) && isset($_POST['select']))
{
	$prof = new Professeur($_POST['select']);
	
	$prof->supprimer();
	
	header("Location: administrationProf.php"); 
}
header("Location: administrationProf.php"); 
if(isset($_POST['ajoutProf']))
{
	header("Location: addProf.php"); 
}




?>